<style>
    div.k-window-content,.hint-content{
        overflow:hidden;
    }
</style>
<script type="text/javascript" src="views/parkLotCenter/chargeStandard/js/cycleCharge.js"></script>
<script type="text/javascript">
    var cycleCharge = null;
    $(document).ready(function() {
        cycleCharge = new cycleChargeJs($("#cycleDiv"));
    });
</script>
<div class="rule-content" id="cycleDiv">
    <div style="height:530px;overflow-y:auto;overflow-x:hidden;">
        <div class="layerTitle left"><span>基本信息</span></div>
        <div class="hint-text">
            <label>收费规则名称：</label>
            <input class="k-textbox" type="text" data-bind="value:chargeName" pattern="^[\u4E00-\u9FA5A-Za-z0-9]+$" validationMessage="检测到特殊字符" required/>
            <input class="k-textbox" type="hidden" data-bind="value:chargeType"/>
            <input class="k-textbox" type="hidden" data-bind="value:chargeParamCode"/>
        </div>
        <div class="hint-text">
            <label>收费规则编号：</label>
            <input disabled="disabled" class="k-textbox" placeholder="系统自动生成" type="text"  data-bind="value:chargeCode"/>
        </div>
        <div class="layerTitle left"><span>详细信息</span></div>
        <div class="hint-text">
            <label>收费金额：</label>
            <input class="k-textbox" type="text" data-bind="value:chargeStandardInfos_A_payMoney" required validationMessage="请输入有效金额,包括1到2位小数" pattern="^[0-9]+(\.[0-9]{1,2})?$"/>
        </div>
        <div class="hint-text">
            <label>包期类型：</label>
            <input type="text" id="payType" data-bind="value:chargeStandardInfos_A_payType" required>
        </div>
    </div>
    <div class="basicInfo-btn">
        <button class="save" data-bind="click:savechargeInfo">确定</button>
        <button class="cancel" data-bind="click:cancel">取消</button>
    </div>
</div>